package com.cj.mobile.iabp.mvp.model.entity;

/**
 * 包名： com.zqw.mobile.recyclingandroid.model
 * 对象名： CategoryInfo
 * 描述：获取销售品类
 * 作者： wly
 * 邮箱：wangliyang206@163.com
 * 创建日期： 2017/8/3 18:38
 */

public class SalesCategoryInfo {
    public SalesCategoryInfo() {
    }

    /**
     * 添加转移废物
     */
    public SalesCategoryInfo(String catId, String catName) {
        this.catId = catId;
        this.catName = catName;
    }

    /**
     * 获取销售品类
     */
    public SalesCategoryInfo(String catId, String catName, double totalWeight) {
        this.catId = catId;
        this.catName = catName;
        this.totalWeight = totalWeight;
    }

    /**
     * 入库单 - 确认入库 - 添加品类
     */
    public SalesCategoryInfo(String catId, String catName, String brand, String model, String goodsId, double price) {
        this.catId = catId;
        this.catName = catName;
        this.brand = brand;
        this.model = model;
        this.goodsId = goodsId;
        this.price = price;
    }

    /*----------------------------------------通用----------------------------------------*/
    // 品类id
    private String catId = "";
    // 品类名称
    private String catName = "";

    // 品牌
    private String brand;
    // 型号
    private String model;
    // 商品id
    private String goodsId;
    // 税率
    private double taxRate;
    // 单价
    private double price;
    /*----------------------------------------销售送货单----------------------------------------*/
    private String productId;
    private String productName;
    // 单位
    private String unit;
    // 库存
    private double totalWeight;

    /*----------------------------------------本地使用----------------------------------------*/
    // 是否已经选择当前品类
    private boolean isLocalSelect;

    public double getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(double taxRate) {
        this.taxRate = taxRate;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public double getTotalWeight() {
        return totalWeight;
    }

    public void setTotalWeight(double totalWeight) {
        this.totalWeight = totalWeight;
    }

    public boolean isLocalSelect() {
        return isLocalSelect;
    }

    public void setLocalSelect(boolean localSelect) {
        isLocalSelect = localSelect;
    }

    public String getCatId() {
        return catId;
    }

    public void setCatId(String catId) {
        this.catId = catId;
    }

    public String getCatName() {
        return catName;
    }

    public void setCatName(String catName) {
        this.catName = catName;
    }
}
